{{csrf_field()}}
    <div class="form-group row">
        <label for="name" class="col-sm-2 col-form-label">角色名</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" maxlength="16" id="name" name="name" value="{{ $role->name ?? old('name') }}" placeholder="请输入用户名">
        </div>
    </div>
    <div class="form-group row">
        <label for="email" class="col-sm-2 col-form-label">显示名称</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="display_name" id="display_name" placeholder="邮箱地址" value="{{$role->display_name ?? old('display_name')}}">
        </div>
    </div>

    <div class ="col-sm-7" style="text-align: center;">
        <button type="submit" class="btn btn-info">提 交</button>
        <a class="btn btn-default" href="{{route('admin.role')}}">返 回</a>
    </div>